﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Hybrid
{
    public partial class SelectPlayers : Form
    {
        public SelectPlayers()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            int players = 0;
            if (radioButton1.Checked) players = 0;
            else if (radioButton2.Checked) players = 1;
            else if (radioButton3.Checked) players = 2;
            new Main(players, 0, null, false, false).Show();
            this.Hide();
        }

    }
}
